package com.hanserwei.community.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.po.ParkingCharge;
import com.hanserwei.community.entity.request.parking.ParkingChargeQueryRequest;
import com.hanserwei.community.entity.request.parking.ParkingChargeSaveRequest;
import com.hanserwei.community.entity.vo.ParkingChargeVO;

public interface ParkingChargeService extends IService<ParkingCharge> {

    Page<ParkingChargeVO> pageParkingCharges(ParkingChargeQueryRequest request);

    ParkingChargeVO getParkingChargeDetail(Integer id);

    boolean createParkingCharge(ParkingChargeSaveRequest request);

    boolean updateParkingCharge(Integer id, ParkingChargeSaveRequest request);

    QueryWrapper<ParkingCharge> buildQueryWrapper(ParkingChargeQueryRequest request);
}
